import React, { ReactChild } from 'react'
// @ts-ignore
import Styles from './index.scss'

interface PropsInterface {
  // children
  children?: ReactChild
  className?: string
  onClick?: () => void
}

export default (props: PropsInterface) => {

  return (
    <li onClick={ props.onClick } className={ `${ Styles['com-global-cell-base'] } ${ props.className }` }>
      { props.children }
    </li>
  )
}